package com.meitianhui.convenitenbuy.module.home.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.home.model.bean.GoodsInfoDetail;

/**
 * Created by Administrator on 2017/11/1.
 */

public interface OpenFightGroupContract {
    interface View extends BaseView<Presenter> {
        void getGoodsInfoDetailSuccess(GoodsInfoDetail data);
        void getGoodsInfoDetailFail(int code,String msg);
        void payFail(int code,String msg);
    }

    interface Presenter extends BasePresenter {

        void getGoodsInfoDetail(String goodsId,String activityId,String service);

        void getJoinGoodsInfoDetail(String activityId,String service);

        void openGroupPay(int payWay, String goodId, String storeId,GoodsInfoDetail.Convenient convenient);

        void joinGroupPay(int payWay,String activityId,GoodsInfoDetail.Convenient convenient);

    }
}
